home *** CD-ROM | disk | FTP | other *** search
Wrap
package com.extensibility.esc; import com.extensibility.app.UI; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; class ConversionDialog$2 implements ActionListener { // $FF: synthetic field final ConversionDialog this$0; public void actionPerformed(ActionEvent var1) { if (this.this$0.rbtSamePlace.isSelected()) { this.this$0.outDirectory = null; } else { String var2 = this.this$0.tfdOutputDir.getText().trim(); File var3 = new File(var2); if (!var3.isDirectory() || !var3.exists()) { if (!ConversionDialog.access$7000071(this.this$0, this.this$0, String.valueOf(var2).concat(String.valueOf(UI.getString("file.does.not.exist.message"))))) { return; } (new File(var2)).mkdirs(); } } this.this$0.outFlavor = (String)this.this$0.cbxOutputFlavors.getSelectedItem(); this.this$0.ok = true; if (this.this$0.rbtThisProject.isSelected()) { this.this$0.outProject = "OUT_THIS_PROJ"; } if (this.this$0.rbtNewProject.isSelected()) { this.this$0.outProject = "OUT_NEW_PROJ"; } if (this.this$0.rbtNoProject.isSelected()) { this.this$0.outProject = "OUT_NO_PROJ"; } this.this$0.dispose(); } ConversionDialog$2(ConversionDialog var1) { this.this$0 = var1; } }